import Link from "next/link";
import React from "react";

type SettingsLayoutProps = {
  children: React.ReactNode;
};

export default function RootLayout({ children }: SettingsLayoutProps) {
  return (
    <div style={{ maxWidth: 800, margin: "16px auto" }}>
      <div>
        <Link href="/">🏠Home</Link>
        <Link href="/me">🚩Profile</Link>
        <Link href="/me/settings">🚢Settings</Link>
      </div>
      <div>{children}</div>
    </div>
  );
}
